package fnord.network.calculator;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import fnord.illuminati.card.ActionTime;
import fnord.illuminati.card.Alignment;
import fnord.illuminati.card.Connection;
import fnord.illuminati.card.groupcards.TestGroupCard;

public class AttackCalculatorTests {
	
	private AttackCalculator _calc;
	
	@Before
	public void setUp() throws Exception {
		Alignment[] card1Alig = {Alignment.COMMUNIST, Alignment.CONSERVATIVE};
		Connection[] card1Con = {Connection.NORTH, Connection.EAST};
		_calc = new AttackCalculator(null, new TestGroupCard("GropuCard1", "THIS CARD GROPES THINGS IN JAPAN", null, ActionTime.NEVER, 3, 0, 5, 2, 0, card1Alig, card1Con), null, null);
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testCalculate() {
		fail("Not yet implemented"); // TODO
	}

	@Test
	public void testGetAttackPower() {
		assertEquals(_calc.getAttackPower(), 3);
	}

}
